
import 'dart:io';

class XinDongSelectFileClass {
  late File file; // 上传的文件
  String? videoPath;
  int width = 0;
  int height = 0;

  XinDongSelectFileClass(this.file);

  // Class转Map
  Map<String, dynamic> toMap() => {
    'file': file,
    'videoPath': videoPath,
    'width': width,
    'height': height,
  };
}